home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
program
/
swagd_f.zip
/
EGAVGA.SWG
/
0077_Retrace Correction.pas
< prev
next >
Wrap
Pascal/Delphi Source File
|
1994-01-27
|
736b
|
23 lines
{
> I think TP is fast enough for that, because your video card needs much
> time to display the screen. Perhaps this is a little bit faster on
> REALLY slow machines :
Actually, that won't do what it's supposed to do...
When you use the IN instruction the format is like this:
IN op1,op2 That transfers a byte, word or dword from the in
op2 specified port into AL, AX or EAX.
> Asm
> MOV DX,$03DA
> @@1:
> IN DX,AX <----- Therefore, change to: in al,dx
> TEST AX,$08 <----- test al,8
> JZ @@1
> @@2:
> IN DX,AX <----- in al,dx
> TEST AX,$08 <----- test al,8
> JNZ @@2
> End;
}